package com.ali.ssm.serviceimpl;

import org.springframework.stereotype.Service;
import com.ali.ssm.dao.IUserDao;
import com.ali.ssm.model.User;
import com.ali.ssm.service.IUserService;

import javax.annotation.Resource;

/**
 * @program: SSM
 * @description:
 * @author: Bruse Queen
 * @create: 2018-05-27 20:35
 **/
@Service("userService")
public class UserServiceImpl implements IUserService {

    @Resource
    private IUserDao userDao;

    public User selectUser(long userId) {
        return this.userDao.selectUser(userId);
    }
}